#include <stdio.h>
#define TABSPACE 4

int main(void) {

    int c, tabSpace;

    while ((c = getchar()) != EOF) {
        if (c == '\t') {
            tabSpace = TABSPACE;
            while (tabSpace > 0) {
                putchar('#');
                tabSpace--;
            }
        } else {
            putchar(c);
        }
    }
    return 0;
}